package com.qianbei.bean;

import com.qianbei.common.base.Basebean;
import com.qianbei.common.init.SetData;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by gaoml on 2018/1/17.
 */

public class GetRecord extends Basebean{

    public String jobId  = SetData.getJobid();


    public String cus_id ;
    public String duplicateNo ;
    /**
     * 上传的照片ID
     */
    public String allweight;
    public String emptyweight;
    public String fullweight;
    public String boxweight;

    public String noBoxWeight;
    public ArrayList<String> p_id  =new ArrayList<>();
    public ArrayList<String> photo_names  =new ArrayList<>();
    public ArrayList<Map<String ,String>> needWeight =new ArrayList<>();

    /**
     *
     * @param cus_id 客户ID
     * @param duplicateNo 联单号
     * @param p_id 已上传到服务器图片ID
     * @param needWeight 输入重量
     */
    public GetRecord(String cus_id, String duplicateNo, String allweight,ArrayList<String> p_id, ArrayList<Map<String, String>> needWeight) {
        this.cus_id = cus_id;
        this.duplicateNo = duplicateNo;
        this.p_id = p_id;
        this.allweight = allweight;
        this.needWeight = needWeight;
    }

    public GetRecord(String cus_id, String duplicateNo, String allweight,ArrayList<String> p_id, ArrayList<Map<String, String>> needWeight ,ArrayList<String> photo_names) {
        this.cus_id = cus_id;
        this.duplicateNo = duplicateNo;
        this.allweight = allweight;
        this.p_id = p_id;
        this.needWeight = needWeight;
        this.photo_names = photo_names;
    }

    @Override
    public String toString() {
        return "{" +
                "jobId='" + jobId + '\'' +
                ", cus_id='" + cus_id + '\'' +
                ", duplicateNo='" + duplicateNo + '\'' +
                ", allweight='" + allweight + '\'' +
                ", emptyweight='" + emptyweight + '\'' +
                ", fullweight='" + fullweight + '\'' +
                ", boxweight='" + boxweight + '\'' +
                ", noBoxWeight='" + noBoxWeight + '\'' +
                ", p_id=" + p_id +
                ", photo_names=" + photo_names +
                ", needWeight=" + needWeight +
                '}';
    }
}
